package com.lazyfish.bootcm.config.properties;

import java.util.List;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import com.google.common.collect.Lists;
import com.lazyfish.bootcm.util.YamlPropertySourceFactory;

@Component
@ConfigurationProperties("manager")
@PropertySource(value = {"classpath:customer-manager.yml"}, factory = YamlPropertySourceFactory.class)
public class CustomerManagerProperties {
	private List<String> statisticsColname = Lists.newArrayList();

	public List<String> getStatisticsColname() {
		return statisticsColname;
	}

	public void setStatisticsColname(List<String> statisticsColname) {
		this.statisticsColname = statisticsColname;
	}
	
}
